From: Maximiliano Curia Date: Tue, 13 Oct 2026 10:08:50 +0000 (+0200) Subject: Allow a Python version suffix for Python-dependent libraries X-Git-Tag: archive/raspbian/9.6.2+ds-3+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6944be707659b4c9136fa2ea1cece9750ff01b9e;p=vtk9.git Allow a Python version suffix for Python-dependent libraries Forwarded: not-needed Last-Update: 2026-09-27 Used to install these libraries for non-default Python versions. =================================================================== Gbp-Pq: Name python_version_library_suffix.patch --- diff --git a/Common/Python/CMakeLists.txt b/Common/Python/CMakeLists.txt index 9836604b2..e2e4bf59c 100644 --- a/Common/Python/CMakeLists.txt +++ b/Common/Python/CMakeLists.txt @@ -2,5 +2,6 @@ set(classes vtkPythonArchiver) vtk_module_add_module(VTK::CommonPython + LIBRARY_NAME_SUFFIX "${VTK_PYTHON_LIBRARY_NAME_SUFFIX}" CLASSES ${classes}) vtk_add_test_mangling(VTK::CommonPython) diff --git a/Filters/Python/CMakeLists.txt b/Filters/Python/CMakeLists.txt index 2bde8bd15..f0e6347bb 100644 --- a/Filters/Python/CMakeLists.txt +++ b/Filters/Python/CMakeLists.txt @@ -2,5 +2,6 @@ set(classes vtkPythonAlgorithm) vtk_module_add_module(VTK::FiltersPython + LIBRARY_NAME_SUFFIX "${VTK_PYTHON_LIBRARY_NAME_SUFFIX}" CLASSES ${classes}) vtk_add_test_mangling(VTK::FiltersPython) diff --git a/Parallel/MPI4Py/CMakeLists.txt b/Parallel/MPI4Py/CMakeLists.txt index c996c6963..8bcbd4d88 100644 --- a/Parallel/MPI4Py/CMakeLists.txt +++ b/Parallel/MPI4Py/CMakeLists.txt @@ -2,5 +2,6 @@ set(classes vtkMPI4PyCommunicator) vtk_module_add_module(VTK::ParallelMPI4Py + LIBRARY_NAME_SUFFIX "${VTK_PYTHON_LIBRARY_NAME_SUFFIX}" CLASSES ${classes}) vtk_add_test_mangling(VTK::ParallelMPI4Py) diff --git a/Rendering/Matplotlib/CMakeLists.txt b/Rendering/Matplotlib/CMakeLists.txt index 8d1a34c2c..92c0bb1bc 100644 --- a/Rendering/Matplotlib/CMakeLists.txt +++ b/Rendering/Matplotlib/CMakeLists.txt @@ -10,6 +10,7 @@ vtk_object_factory_configure( EXPORT_MACRO "VTKRENDERINGMATPLOTLIB_EXPORT") vtk_module_add_module(VTK::RenderingMatplotlib + LIBRARY_NAME_SUFFIX "${VTK_PYTHON_LIBRARY_NAME_SUFFIX}" CLASSES ${classes} SOURCES ${vtk_object_factory_source} PRIVATE_HEADERS ${vtk_object_factory_header}) diff --git a/Rendering/PythonContext2D/CMakeLists.txt b/Rendering/PythonContext2D/CMakeLists.txt index 4a285b05b..4386c626c 100644 --- a/Rendering/PythonContext2D/CMakeLists.txt +++ b/Rendering/PythonContext2D/CMakeLists.txt @@ -2,5 +2,6 @@ set(classes vtkPythonItem) vtk_module_add_module(VTK::PythonContext2D + LIBRARY_NAME_SUFFIX "${VTK_PYTHON_LIBRARY_NAME_SUFFIX}" CLASSES ${classes}) vtk_add_test_mangling(VTK::PythonContext2D) diff --git a/Utilities/PythonInterpreter/CMakeLists.txt b/Utilities/PythonInterpreter/CMakeLists.txt index 27ecdbf31..6c621ab8a 100644 --- a/Utilities/PythonInterpreter/CMakeLists.txt +++ b/Utilities/PythonInterpreter/CMakeLists.txt @@ -6,6 +6,7 @@ set(headers vtkPythonStdStreamCaptureHelper.h) vtk_module_add_module(VTK::PythonInterpreter + LIBRARY_NAME_SUFFIX "${VTK_PYTHON_LIBRARY_NAME_SUFFIX}" CLASSES ${classes} HEADERS ${headers}) diff --git a/Web/Core/CMakeLists.txt b/Web/Core/CMakeLists.txt index 5ce21cbc9..a05411370 100644 --- a/Web/Core/CMakeLists.txt +++ b/Web/Core/CMakeLists.txt @@ -7,5 +7,6 @@ set(classes vtkWebUtilities) vtk_module_add_module(VTK::WebCore + LIBRARY_NAME_SUFFIX "${VTK_PYTHON_LIBRARY_NAME_SUFFIX}" CLASSES ${classes}) vtk_add_test_mangling(VTK::WebCore)